Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86 -> x64 porting #29

Open
jongwuner opened this issue Dec 7, 2019 · 4 comments
Open

x86 -> x64 porting #29

jongwuner opened this issue Dec 7, 2019 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@jongwuner
Copy link
Collaborator

TYPRESS는 x64 에서 동작하며, 모듈이 x86에서 동작하는것과 동일하게 돌아가야한다.

x64 Compile

image

x86 Compile

image

#14

@jongwuner jongwuner added the enhancement New feature or request label Dec 7, 2019
@jongwuner jongwuner self-assigned this Dec 7, 2019
jongwuner added a commit that referenced this issue Dec 7, 2019
#29 commit print api
@jongwuner
Copy link
Collaborator Author

print_api 코드 상에서, 주의깊게 봐야할 자료형

PrintSpoolAPI.cs

  • enum
  • IntPtr
  • Marshal 쓰임새
    • MarshalWrite16
  • FieldOffset 그냥 써도 되는지?

  • ToInt64 이렇게 그냥 써도 될지??
  • Bit 연산 하는 부분 등

@jongwuner
Copy link
Collaborator Author

jongwuner commented Dec 8, 2019

not managed structure --casting(marshaling)--> managed structure

image

  • data부분에 값이 제대로 들어가지 않음.

image

  • if문에 들어와야 하는데 들어오지 못하고 있음.

들어와야 하는 값

data.Field == 10
data.Type == 1

jongwuner added a commit that referenced this issue Dec 8, 2019
@jongwuner
Copy link
Collaborator Author

x64 Porting으로 해결되지 않으면, x64 기반으로 해서 PrintAPI 하나 제작예정

@jongwuner jongwuner added bug Something isn't working help wanted Extra attention is needed labels Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant