Talk:GModInterface

From GMod Wiki

Jump to: navigation, search

Visual Studio 2005

The Interface example code and project don't seem to work with Visual Studio/C++ Express 2005.

An error is given with the project converter:

Conversion Issues - GmodInterface.vcproj: The following error has occurred during XML parsing: File: C:\projects\GModTestModule\GmodInterface.vcproj Line: 8 Column: 21 Error Message: '7.0' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'. The attribute 'Version' with value '7.0' failed to parse. The file 'C:\projects\GModTestModule\GmodInterface.vcproj' has failed to load.

I was able to successfully compile and link a third party module project, so I can probably build a 2005 base solution with a few changes. --Mrflippy 02:08, 8 December 2006 (GMT Standard Time)

Correct me if i'm wrong, but C++ Express .NET probably won't work because it's a .NET version of C++ in that compiler? Sounds like it's tried to convert the code to .NET, anyhow, and that's not going to work. I think. Try using VS 2003.--Morpheous 07:42, 8 December 2006 (GMT Standard Time)
Last night I was able to successfully build and run a dll module for Garry's Mod with VC++ 2005 Express. (And on 64 bit Vista beta no less) The main issue was that I couldn't get the example code to work. Once I made my own project everything worked fine. I'll probably package up an example project for 2005 today at some point. --Mrflippy 16:29, 8 December 2006 (GMT Standard Time)

Interface on Google Code

The code on the Google code is outdated and should either be updated or the links being replaced by the gm_sqlite one (if that isn't outdated by now too)--Neico 00:27, 16 June 2010 (UTC)

Merge

As you can see, both GModInterface and GLuaModule mention a merge. I did this in order to get GModInterface updated or deleted as is warranted. If GModInterface is no longer the standard method of making/starting c++ modules, then edit it to reflect that it's outdated, and point to the de facto if it exists, or delete the page (nothing links to it besides the merge). KnowledgeJunkie 02:34, 31 August 2010 (UTC) I am sorry, but What? This page contains nothing but how to USE a binary module, so the complaints about it not working in visual studio, has this talk page been copied from a different article or something? I even looked in the history, all this page has ever really been is a link to the interface, and an example of how to use a binary module Nekosune 22:10, 3 January 2011 (GMT)

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox