Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Charles Keepax

@Charles Keepax
About
Posts
21
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dell.ControlPoint.exe
    C Charles Keepax

    We buy quite a lot of Dell PC's here and they keep arriving with an ever increasing raft of Dell spamware on them. Control point is one of them and we have had numerous issues with it doing things like breaking the wifi on laptops every few hours etc. I would highly recommend uninstalling it.

    The Lounge question

  • Notepad++ and programmer's editors
    C Charles Keepax

    Personally, I have always favoured Notepad++ and Ultraedit; they are both great editors. Lately I have been getting into Vim and finding it quite awesome. The learning curve is a nightmare, but its shaping up to be quite powerful. Still haven't decided if I would make it my go to editor yet though.

    The Lounge csharp javascript html visual-studio com

  • Unmanaged DLLs
    C Charles Keepax

    Ah...... I knew it would be something really annoyingly simple. Thank you both very much for the help. You have no idea the hours of frustration that saved me. Thanks again, Charles

    Visual Basic help csharp c++ visual-studio

  • Unmanaged DLLs
    C Charles Keepax

    Hi, I have a mostly C++ background and have a small VB.NET problem and was hoping for some advice from you guru's out there in VB land. I am using VS.NET 2002, incase anyone know of a problem with that version. I am trying to access functions in a unmanaged DLL from a managed VB application. I can get this to work fine until I use a DLL function that has a string as a parameter. When I call a function with a string as a parameter, although the DLL receives the string correcly, the return value of all future DLL calls is garbage. I have created a small sample application (DLL and VB) to demonstrate the problem. I have posted the code in this post (sorry about that but figured it would be nessecary). Any help would be awesome? Thanks in Advance, Charles Example follows, in the VB application the first two calls to fnTestNumber are handled fine, but the return value from fnTestString and the last fnTestNumber are random. VB Application: Imports System.Runtime.InteropServices Module Module1 <DllImport("TestDLL.DLL", _ CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl)> _ Function fnTestNumber(ByVal iTest As Long) As Long End Function <DllImport("TestDLL.DLL", _ CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl)> _ Function fnTestString(<MarshalAs(UnmanagedType.LPStr)> ByVal szTest As String) As Long End Function Sub Main() Dim retcode As Long retcode = fnTestNumber(9876) retcode = fnTestNumber(7654) retcode = fnTestString("DATAFILE1.DAT") retcode = fnTestNumber(1234) End Sub End Module C++ DLL: __declspec(dllexport) int fnTestNumber(int iTest) { return iTest; } __declspec(dllexport) int fnTestString(const char* szTest) { return 42; }

    Visual Basic help csharp c++ visual-studio

  • Small class sizes ?
    C Charles Keepax

    Perhaps you should just ask them how they run a school on nothing?

    The Lounge c++ architecture help question learning

  • WOTD
    C Charles Keepax

    What utter madness. The bit I am still trying to figure out, apart from him clearly not being white, is "My ancestors where nazis" and "I'm Inuit", where there a lot of Inuit nazi's in WWII? And further more if he stabbed and killed someone in 2004 what the hell is he doing being out of jail 3 years later? All's I can say is WOW!

    The Lounge csharp php wpf com

  • What does DVD stand for?
    C Charles Keepax

    Its digital versatile disk, but you can kinda see where the video confusion came from.

    The Lounge com question discussion

  • Ebay has me depressed...
    C Charles Keepax

    To be fair I find the exact opposite to be true a lot of the time. I often want to get a bargin on ebay but then it turns out if I hunt about I get things cheaper in the shops. I guess it depends on what you are selling/buying.

    The Lounge com tutorial

  • Error Correction
    C Charles Keepax

    Just wondering if any of you fine lounge chaps might have any good recommended books covering information theory, specifically error correction codes and the like. Preferrably quite detailed on the maths side of things. Thanks in advance, Charles

    The Lounge help

  • Free pdf editor
    C Charles Keepax

    I think open office has a PDF creator dunno if it allows for editing of existing PDFs though. And also it seems to be a bit funny on trying to make you pay for it these days.

    The Lounge question

  • Isn't analyzing genes similar to analyzing the bytecode/nativecode? [modified]
    C Charles Keepax

    Yeah, if only the human gnome had a nice handy FAT sector we could look up all those files in :-)

    The Lounge question csharp game-dev

  • Can music be regenerated virtually?
    C Charles Keepax

    Isn't a MIDI file essentially just that?

    The Lounge performance tutorial question

  • Busses, You wait for ages then 3 turn up at once
    C Charles Keepax

    This is actually quite common with the Halifax bank of Amazingly Useless. Its been happening to a mate of mine for about 2 years, although, only with about 100 peoples statements. He has contacted them numerous times about it and they simple keep assuring him that the only way a bank statement can be sent to his house is if that person changes their address. I personally closed all my accounts with them due to amazingly inability to run a bank.

    The Lounge data-structures question announcement

  • 3D games in c#
    C Charles Keepax

    http://www.codeproject.com/managedcpp/Quake2.asp

    The Lounge csharp question

  • Radar Detectors
    C Charles Keepax

    That film is amazing.

    The Lounge c++ csharp com help question

  • Which file extension are you???
    C Charles Keepax

    lol... I got .*

    The Lounge php html com question announcement

  • Who is the best web hosting provider?
    C Charles Keepax

    I use IX and have found them excellent in every way. :-)

    The Lounge question com hosting discussion

  • Brave Captn' vs Pirates
    C Charles Keepax

    Fitting for international talk like a pirate day. http://www.talklikeapirate.com/

    The Lounge visual-studio question

  • Do you give her the ring when you propose?
    C Charles Keepax

    Personally, I took her best friend with me to help me choose the engagement ring. Then obviously she chose her own wedding ring.

    The Lounge question

  • Interesting FIFA stuff
    C Charles Keepax

    Surely that means England's best shot would have been 1998?

    The Lounge graphics question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups