Coder Social home page Coder Social logo

bazislib's People

Contributors

sysprogs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bazislib's Issues

Crash at ParseLNGFile() if the LNG file is not BOM encoded

I'm using WinCDEmu and sometimes when I mount an image (via shell integration) the vmnt crashes.
The problem is the wcsstr() wants to access to an unallocated memory address. Here is the source:
https://github.com/sysprogs/BazisLib/blob/master/bzshlp/Win32/LNGManager.cpp#L108

Call stack:
https://github.com/sysprogs/BazisLib/blob/master/bzshlp/textfile.h#L25
https://github.com/sysprogs/BazisLib/blob/master/bzshlp/textfile.h#L81
https://github.com/sysprogs/BazisLib/blob/master/bzshlp/Win32/LNGManager.cpp#L108

The error occurs only when any non-engilsh lng file exists in the WinCDEmu/langfiles folder.

I'm quite sure the problem is the BOM encoding of the lng files.
The english is encoded with the BOM header, but the others are not.

The english is "Generated by BazisLib STRGEN.EXE, http://bazislib.sysprogs.org/"
The nonenglish is "Generated by online LNG editor, http://wincdemu.sysprogs.org/translations/lngedit.php"

If I change the encodings of the non-english lng files to include the BOM header it works perfectly.

Can not compile

I try to get it working without success.

  • The Folder BazisLib-master have to be named BazisLib and have to exists in the same folder as WinCDEmu.
  • My Visual Studio 2012 Express ask to update c++ redistributables in the Project. No matter what is klicked, i got failures.
  • If io try to compile kernel mode there comes an error
    unbenannt

Can you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.